package com.cutJar.main;

import com.cutJar.core.FirstStep;
import com.cutJar.core.LastStep;
import com.cutJar.core.NextStep;

public class MainStep {
	public void init(String jrePath, String jarPath){
		FirstStep step1 = new FirstStep();
		step1.doStart(jrePath, jarPath);
	}
	public void mainStart(String jrePath, String JarPath){
		init(jrePath + 
				java.io.File.separator +
				"bin", JarPath);
		NextStep step2 = new NextStep();
		LastStep step3 = new LastStep();
		step2.doMainStart(jrePath +
				java.io.File.separator +
				"lib");
		step3.doMainStart();
	}
	public void defineStart(String jrePath, String JarPath, String cutName){
		init(jrePath + 
				java.io.File.separator +
				"bin", JarPath);
		NextStep step2 = new NextStep();
		LastStep step3 = new LastStep();
		step2.defiStart(cutName, 
				jrePath +
				java.io.File.separator +
				"lib");
		step3.doDefiStart(cutName);
	}
}
